]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Consider drop targets on !currentPage as invalid
authorJonas Dreßler <verdre@v0yd.nl>
Fri, 24 Jun 2022 11:11:31 +0000 (13:11 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 1 Feb 2023 12:56:28 +0000 (12:56 +0000)
commita69d99527dedfab409fe7f14f3502b18edd578ad
tree6b8b81f1a9d14b571b930dbeb08b37e74c5cf44d
parent2e6fd8b73024f9ab220db9c82b83d0b9914a69e1
appDisplay: Consider drop targets on !currentPage as invalid

The iconGrid's getDropTarget() API supports dropping items to adjacent
pages just fine, but in the AppDisplay, we clip the grid and don't show
those adjacent pages. That doesn't stop getDropTarget() from picking
drop targets which are on adjacent pages though, so we need to filter
those out in the layer above.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2348>
js/ui/appDisplay.js